﻿module AdventureWorksEntities {

    export interface ICustomer {
        getFirstName(): string
    }

    export class Customer implements ICustomer {
        constructor(public Id: number,
            public FirstName: string,
            public LastName: string) {
        }

        public getId() { return this.Id; }
        public setId(Id: number) { this.Id = Id; }
        public getFirstName() { return this.FirstName; }
        public setFirstName(FirstName: string) { this.FirstName = FirstName; }
        public getLastName() { return this.LastName; }
        public setLastName(LastName: string) { this.LastName = LastName; }
    }   
}


